Repository navigation
Conversation
…w free / musespark mi355x:追加 TP4/EP4 并发 58(SWA 窗口外槽位释放) Signed-off-by: yihou <yihou@amd.com>
dorado269
requested review from
1am9trash,
billishyahao,
chunfangamd and
seungrokj
as code owners
November 20, 2026 05:34
Contributor
|
Thanks for the contribution!
中文感谢你的贡献!
|
…r-link 设为 SemiAnalysisAI#5155 Signed-off-by: yihou <yihou@amd.com>
Signed-off-by: yihou <yihou@amd.com> # Conflicts: # inferencex-e2e/perf-changelog.yaml
Contributor
|
Dispatched trusted sweep run for approved external revision 已为获批的外部提交 |
Collaborator
Author
|
Moved to a same-repository branch; superseded by a new PR (link follows). |
Collaborator
Author
|
Superseded by #5193. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Appends one point to
musespark-fp4-mi355x-sglang-agentic-dflash: TP4/EP4 at concurrency 58, on the same pinnedlmsysorg/sglang-rocm:muse-spark-open-mi355-1106image. The existing six points and their recipes are unchanged (append-only: true;python -m infx.matrix.changed --base origin/main: 6 -> 7 points, 1 added, 0 removed).Why this point. The published MI355X curve (run 42879019953, #4983) ends at TP4 concurrency 40, its highest throughput: 48,418 tok/s/GPU. Concurrency 40 is not where MI355X saturates; it is where the SWA KV pool saturates. With out-of-window SWA slots freed, the same TP4 instance keeps scaling to concurrency 58.
Expected gain. In our pre-submission runs (below) concurrency 58 reached 55,610 and 56,793 tok/s/GPU, mean 56,201: +17.8% over the same harness's concurrency 40 runs of the current recipe (mean 47,726), and +16.1% over the published concurrency 40 point (48,418). The official number is whatever the sweep on this PR measures.
The new
override_tp4_c58is theoverride_tp4_c40recipe (stream interval 20) plus two environment variables:SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1frees SWA KV slots that have left the sliding window. Without it the SWA pool saturates above concurrency 40 and prefix matches get truncated, so raising concurrency does not pay off. This is an existing SGLang option in the pinned image; no engine patch.HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0: we hitHSA_STATUS_ERROR_OUT_OF_RESOURCESon TP4 ranks under async scratch reclaim; we measured no throughput effect from it.No engine patch, file overlay, or model change.
SGLang cookbook update for this point: sgl-project/sglang#51760 (open).
Validation details
Pre-submission runs with our own AgentX closed-loop harness on MI355X (crusoe), 1106 image, 3600 s scored window, a single 4-GPU instance, total tokens/s per GPU. These are not InferenceX workflow runs.
override_tp4_c40as on main (2 runs)Both c58 runs completed without errors (about 6.1k requests each, TTFT p50 2.2 s / p95 11.8 s, ITL 15.6 ms).
AI model disclosure
PR checklist and change type
Type of Change
Checklist
python -m infx.matrix.changed --base origin/mainlists affected config keys, I have appended one new entry covering them to the physical end ofinferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entriesinferencex-e2e/perf-changelog.yamlentry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs):full-sweep-fail-fast(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied./use <run_id>(or the legacy/reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.中文
为
musespark-fp4-mi355x-sglang-agentic-dflash追加一个点:TP4/EP4 并发 58,镜像不变(lmsysorg/sglang-rocm:muse-spark-open-mi355-1106)。原有 6 个点及其配方不变(append-only: true;infx.matrix.changed:6 -> 7 个点,新增 1,删除 0)。为什么加这个点。 当前公开的 MI355X 曲线(run 42879019953,#4983)止于 TP4 并发 40,这也是它的最高吞吐:48,418 tok/s/GPU。并发 40 并不是 MI355X 的上限,而是 SWA KV 池饱和的位置;释放滑出窗口的 SWA 槽位后,同一个 TP4 实例可以继续扩展到并发 58。
预期收益。 提交前实测并发 58 为 55,610 / 56,793 tok/s/GPU,均值 56,201:比同一压测工具下当前配方的并发 40(均值 47,726)高 +17.8%,比公开的并发 40 点(48,418)高 +16.1%。正式数字以本 PR 的 sweep 为准。
override_tp4_c58=override_tp4_c40配方(stream interval 20)加两个环境变量:SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1:释放已滑出窗口的 SWA KV 槽位。不开时并发超过 40 后 SWA 池饱和、前缀匹配被截断,加并发没有收益。这是固定镜像中已有的 SGLang 选项,不修改引擎。HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0:TP4 rank 在异步 scratch 回收下出现过HSA_STATUS_ERROR_OUT_OF_RESOURCES;实测对吞吐无影响。无引擎补丁、无文件覆盖、不改模型。对应的 SGLang cookbook 更新:sgl-project/sglang#51760(未合入)。提交前数据来自我们自己的 AgentX 闭环压测(MI355X,1106 镜像,3600 s 计分窗口,单个 4 卡实例),不是 InferenceX workflow 的结果,见上方 Validation details。
AI 使用说明:Claude-Opus-5.5[1m](Claude Code)编写配方、changelog 和 PR 文本;压测也由该模型在作者监督下执行。
🤖 Generated with Claude Code